<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/sncss/css/style.css" rel="stylesheet" type="text/css" />
<!-- <script type="text/javascript" src="__PUBLIC__/admin/sncss/js/jquery.js"></script> -->
<script src="__PUBLIC__/js/jquery1.8.3.js"></script>
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/datepicker/WdatePicker.js"></script>
<script type="text/javascript">
//时间选择
function selecttime(flag){
	if(flag==1){
		var endTime = $("#countTimeend").val();
		if(endTime != ""){
			WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:endTime});
		}else{
			WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});
		}
	}else{
		var startTime = $("#countTimestart").val();
		if(startTime != ""){
			WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:startTime});
		}else{
			WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});
		}
	}
}
</script>

</head>


<body>

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
		<li><a>首页</a></li>
		<li><a>财务管理</a></li>
		<li><a>提现列表</a></li>
		</ul>
		</div>

		<div class="rightinfo">
			<div class="tools">
				<form method="get" enctype="multipart/form-data" action="{:U('/Home/Money/balance_list')}">
				<input type="text" style="width: 140px;" class="dfinput ordertimebody1" name="strat" id="countTimestart" onfocus="selecttime(1)" value="<?php echo date('Y-m-d H:i:s',$strat);?>" size="17" class="date" readonly> - <input type="text" style="width: 140px;" class="dfinput ordertimebody2" name="end" id="countTimeend" onfocus="selecttime(2)" value="<?php echo date('Y-m-d H:i:s',$end);?>" size="17"  class="date" readonly>
					<input name="keyword" style="height: 38px;" type="text" class="dfinput" placeholder="搜索主播编号/昵称" id="user" value="<?php echo $keyword;?>" />
				<input name="" type="submit" class="btn" value="确认"/>
				</form>
			</div>
<table class="tablelist">
	<thead>
		<tr>
		<th>序号</th>
		<th>订单编号</th>
		<th>昵称</th>
		<th>用户编号</th>
		<th>手机号</th>
		<th>提现金额</th>
		<th>申请时间</th>
		<th>提现时间</th>
		</tr>
	</thead>
	<tbody>
		<foreach name='balancemoneyinfo' item='v'>
			<tr>
				<td>{$v.id}</td>
				<td>{$v.trade_no}</td>
				<td>{$v.nickname}</td>
				<td>{$v.uuid}</td>
				<td>{$v.username}</td>
				<td>{$v.amount}</td>
				<td>{$v.time|date="Y-m-d H:i:s",###}</td>
				<td><if condition="$v.state eq 1">完成提现<else />未完成提现</if></td>
				<!-- <td><if condition="$v.type eq 0"><a href="{:U('/Home/Money/draw_success',array('did'=>$v['id']))}" class="tablelink" onclick="if(confirm('确认提现吗?')==false)return false;">确认提现</a><else /><font color="#0f0">已操作</font></if></td> -->
			</tr>
		</foreach>
	</tbody>
</table>
<style>.pages a,.pages span {
	display:inline-block;
	padding:2px 5px;
	margin:0 1px;
	border:1px solid #f0f0f0;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}
.pages a,.pages li {
	display:inline-block;
	list-style: none;
	text-decoration:none; color:#58A0D3;
}
.pages a.first,.pages a.prev,.pages a.next,.pages a.end{
	margin:0;
}
.pages a:hover{
	border-color:#50A8E6;
}
.pages span.current{
	background:#50A8E6;
	color:#FFF;
	font-weight:700;
	border-color:#50A8E6;
}
</style>

		<div class="pages"><br />
			<div align="right">{$page}</div>
		</div>

</div>

<script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
</script>

</body>

</html>
